package edu.sctu.nieyu.day20150514.textone;

/**
 * Created by user01 on 2015/5/14.
 */
public class HelloWorld {
    public class Inner{
      private   String name ="王二";
       private int age = 18;
       private String sex = "男";
        public void show(){

            System.out.println("姓名："+name+"\n"+"年龄:"+age+"\n"+"性别："+sex);
        }
    }
    public static void main(String[] args) {

        HelloWorld helloWorld = new HelloWorld();
        Inner inner = helloWorld.new Inner();
        inner.show();

    }
}




